﻿using Infrastructure.Web;
using MyData.Data.Repository;
using MyData.Dto;
using MyData.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace MyDomain
{
    public interface IUserInfoRepository : IRepositoryBase<UserInfo>
    {
        bool SaveUserInfo(UserInfo userInfo);
        bool SaveConfirmUserInfo(UserInfo userInfo);
        bool DeleteUserInfo(List<Guid> Ids);
        bool SynsUserSend(int command);
        bool IsExistUser(Guid departId);
        PageDto<UserInfoDto> GetUserInfos(QueryListModel query, Guid departId, string WorkNum, string NickName, int NeedConfirm, int OrderName, int OrderType);
        bool ConfirmUser(Guid Id);
    }
}
